using UnityEngine;
using System.Collections;

public class Checker : MonoBehaviour {

	// Use this for initialization
	void Start () {
		GameObject skillPool = GameObject.Find("SkillPool");
		GameObject weaponPool = GameObject.Find("WeaponPool");
		GameObject charactor = GameObject.Find("Player");
		
		if(charactor == null)
		{
			print("No Player");
		}
		
		if(skillPool == null)
		{
			print("No Skill Pool!!!");
			return;
		}
		
		if(weaponPool == null)
		{
			print("No Weapon Pool!!!");
			return;
		}
		
		if(skillPool.transform.childCount == 0)
		{
			print("Skill pool has no skill!!!");
			return;
		}
		
		if(weaponPool.transform.childCount == 0)
		{
			print("weapon pool has no weapon!!!");
			return;
		}
		
		print("Map State All OK!!!");
		
		
	}
	
	// Update is called once per frame
	void Update () {
	
	}
}
